﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace SAKS.ViewModels
{
    public class DocumentCreateUpdateModel
    {

        [DisplayName("文档编号")]
        public virtual int? SerialNumber{get;set;}
        public virtual string CreatePurpose{get;set;}
        [Required]
        public virtual string SecurityLevel{get;set;}
        [Required]
        public virtual string PrimaryAuthor{get;set;}
        public virtual string CompletedDate{get;set;}
        public virtual string ArchivedDate{get;set;}
        public virtual string Remarks{get;set;}
        public virtual Guid? ProjectId { get; set; }
        public virtual Guid? AchievementId { get; set; }
    }

    public class ReportCreateUpdateModel
    {
        public virtual string ConferenceName
        {
            get;
            set;
        }

        public virtual System.DateTime? ConferenceDate
        {
            get;
            set;
        }

        public virtual string ConferencePlace
        {
            get;
            set;
        }
        [Required]
        public virtual string ReportName
        {
            get;
            set;
        }

        public virtual string SpecializedField
        {
            get;
            set;
        }
        [Required]
        public virtual string ReportWriter
        {
            get;
            set;
        }

        public virtual string ReportChecker
        {
            get;
            set;
        }

        public virtual string ReportApprovePerson
        {
            get;
            set;
        }

        public virtual string ReportSummary
        {
            get;
            set;
        }

        public virtual System.DateTime? ArchivedDate
        {
            get;
            set;
        }
        public virtual Guid? ProjectId { get; set; }
    }
}
